<?php
namespace app\modules\index\services;

use app\common\services\BaseService;
use app\models\Attribute;

class AttributeService extends BaseService{

    /**
     * 获取信息
     * @param $id
     * @return Attribute|null
     */
    public static function getInfoById($id){
        return Attribute::findOne($id);
    }
}